﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = Weapons
		Group                          = Lasers
		Size                           = Medium
		Module                         = kauska heatpin i medium lcl laser prototype
		CpuUsage                       = 27.00 TF
		ReactorUsage                   = 214.00 RP
		Type                           = Active
		Slot                           = Turret
		TechnologicalLevel             = T3P
		Mass                           = 225.00 kg
		PackedVolume                   = 0.50 U
		Volume                         = 1.00 U
		AccumulatorConsumption         = 20.00 AP
		CycleTime                      = 4.50 sec
		OptimalRange                   = 190 m
		Falloff                        = 100 m
		AmmoChargeType                 = Medium energy cells
		AmmoChargeCapacity             = 180 pcs
		Damage                         = 138 %
		HitDispersion                  = 8.00 •
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// Kauska Heatpin I. medium LCL laser prototype module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:56</remarks>
    public sealed class KauskaHeatpinIMediumLclLaserPrototype : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="KauskaHeatpinIMediumLclLaserPrototype"/> class.
        /// </summary>
        public KauskaHeatpinIMediumLclLaserPrototype()
            : base(
            "Kauska Heatpin I. medium LCL laser prototype",
            "",
            ModuleMetaGroupsEnum.Weapons,
            ModuleGroupsEnum.Lasers,
            TechnologyLevelsEnum.Level3|TechnologyLevelsEnum.Prototype,
            SizesEnum.Medium,
            new LazyFeature[] { 
				new LazyFeature(typeof(WeaponCpuUsage<double>),27.00),
				new LazyFeature(typeof(WeaponReactorUsage<double>),214.00),
				new LazyFeature(typeof(ModuleMass<double>),225.00),
				new LazyFeature(typeof(WeaponAccumulatorUsage<double>),20.00),
				new LazyFeature(typeof(AmmunitionType<AmmunitionTypesEnum>),AmmunitionTypesEnum.MediumEnergyCells),
				new LazyFeature(typeof(AmmoCapacity<double>),180),
				new LazyFeature(typeof(MediumLaserCycleTime<double>),4.50),
				new LazyFeature(typeof(MediumLaserOptimal<double>),190),
				new LazyFeature(typeof(MediumLaserFalloff<double>),100),
				new LazyFeature(typeof(MediumLaserDamage<double>),138),
				new LazyFeature(typeof(MediumLaserHitDispersion<double>),8.00), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 225.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Active; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Chassis; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Turret; }
        }
    }
}